package com.zrgj.manager.service;

import com.zrgj.domain.*;

import java.util.List;

public interface IProductService {
    void insertPro(Product product, ProductInfo info);

    List<Product> selectPro(Product product);

    List<Product> selectNew();

    List<Product> selected();

    List<ProductVo> selectBest();

    List<Product> selectByPrimary(Integer primaryId);

    List<Product> selectSell(Integer primary);

    List<ProductPo> selectShopPrimary(Integer primaryId);

    ProductPo selectVo(Integer productId);

    void update(ProductPo product);

    void delete(Integer productId);

    List<ProductPo> selectKey(String keyWord);
}
